<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-28 23:57:48
 * @lastTime 2020-05-01 23:10:36
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */
namespace Design\Behavioral\Specification;

class Item
{

    private $price;


    public function __construct(float $price)
    {
        $this->price = $price;

    }//end __construct()


    public function getPrice() : float
    {
        return $this->price;

    }//end getPrice()


}//end class
